import { defineWorkspace } from 'vitest/config'

export default defineWorkspace([
  'apps/*',
  {
    extends: './apps/client/vitest.config.ts',
    test: {
      name: 'Client'
    }
  },
  {
    extends: './apps/server/vitest.unit.config.mts',
    test: {
      name: 'ServerUnit'
    }
  },
  {
    extends: './apps/server/vitest.e2e.config.mts',
    test: {
      name: 'ServerE2E'
    }
  }
])
